package modele;

import java.util.Vector;

public class Cadre{
    
    private int height;
    private int width;
    private Vector lesElements= new Vector();
    
    public Cadre() {
        super();
    }

    public int Initialiser (int width, int height) {
        this.width = width;
        this.height = height;
        return 1;
    }

    public int getHeight() {
        return height;
    }

    public void setHeight(int lenght) {
        this.height = lenght;
    }

    public int getWidth() {
        return width;
    }

    public void setWidth(int width) {
        this.width = width;
    }
    
    public void ajouterElement(Element element){
        this.lesElements.add(element);
        return;
    }
    
    public void supprimerElement(Element element){
        this.lesElements.remove(element);
        return;
    }
}
